import React from 'react';
import { Layout } from 'antd';
import { Link } from 'umi';

const { Header, Content, Footer, Sider } = Layout;

export const BasicLayout = (props) => {
  const { children } = props;

  return (
    <Layout style={{ minHeight: '100vh' }}>
      <Content style={{ margin: '24px 16px 0', overflow: 'initial' }}>
        <div style={{ padding: 24, background: '#fff' }}>{children}</div>
      </Content>
    </Layout>
  );
};